<table style="width:100%;" cellspacing="0">
<tr>
<td>

<table cellspacing="0" width="100%" class="forumline">
                <tr>
                	<td class="row-header" colspan="2">
                	   <span>
                	       {language text="approve_polls"}
            	       </span>
        	       </td>
                </tr>
{if !getParam('approve_polls')}
<tr>
 	<td>
	<div class="message_info" style="font-size:10pt;">
		{language text='Mod_Poll.approval_info_polls'}
	</div>
	</td>
</tr>		
{else}  
<tr>
	<td class="row1">

{if $iCnt}
/ {str_replace text="`viewing_ifrom_ito_out_of_icnt`" iFrom="`$iFrom`" iTo="`$iTo`" iCnt="`$iCnt`" }
{/if}

{include file="$sRootPath/_blocks/pager_nav_button.html"}
<br />
{foreach from=$aItems name=aitems item=aItem}
<form method="post" action="{url link='admin.sections.polls' id=$aItem.id}" style="margin:0px;">
<div class="border13">
<div style="padding:6px;">
<b>{language text="id_368"}: {$aItem.id}</b>
<div style="padding:6px;">
<b>{language text="posted_by_604"}:</b> <a href="{url link='public.user' name=$aItem.user}">
{$aItem.user}</a>
 <br /><br />
<b>{language text="poll"}:</b> {$aItem.poll|escape}
    <div style="padding:6px;">
{if $aItem.o1 != ''}
        <b>{language text="answer"} 1:</b> {$aItem.o1|escape} <br />
{/if}
{if $aItem.o2 != ''}
        <b>{language text="answer"} 2:</b> {$aItem.o2|escape} <br />
{/if}
{if $aItem.o3 != ''}
        <b>{language text="answer"} 3:</b> {$aItem.o3|escape} <br />
{/if}
{if $aItem.o4 != ''}
        <b>{language text="answer"} 4:</b> {$aItem.o4|escape} <br />
{/if}
    </div>

    <br />
    <input type="submit" name="act[ok]" value=" {language text="approve"} " />
    <input type="submit" name="act[fail]" value=" {language text="deny"} " onclick="return sure();" />
</div>
</div>
</div>
</form>
<br />
{foreachelse}
<div class="message_info">{language text="there_are_no_polls_yet"}</div>
{/foreach}
{include file="$sRootPath/_blocks/pager_nav_button.html"}
<br /><br />

</td>
</tr>
{/if}
</table>

</td>
</tr>
</table>